<%
Response.Expires = -1000 'Makes the browser not cache this page
Response.Buffer = False 'Buffers the content so our Response.Redirect will work
Session("UserLoggedIn") = ""
If Request.Form("login") = "true" Then
CheckLogin
Else
ShowLogin
End If
Sub ShowLogin
%>
Björksätra Bredbandsförening
<%
End Sub
Sub CheckLogin
If LCase(Request.Form("username")) = "guest" And LCase(Request.Form("userpwd")) = "guest" Then
Session("UserLoggedIn") = "true"
Response.Redirect ("forening.pdf")
Else
Response.Write("Login Failed.
")
ShowLogin
End If
End Sub
%>